import { createStore ,applyMiddleware,compose} from 'redux';
import thunk from 'redux-thunk';

import RootReducer from './reducers';

const finalCreateStore = compose(
    applyMiddleware(thunk)
)(createStore);

export const store = finalCreateStore(RootReducer);
